package com.mdsoft.context;

import java.util.HashMap;

public class Context extends HashMap<String, Object> {
	private static final long serialVersionUID = -418865465447138104L;
	
	private static Context context;
	private Context(){
	}
	public static Context getInstance() {
		if (context == null) {
			context = new Context();
		}
		return context;
	}
	
	public static final String USERS = "USERS";
	public static final String PLAN = "PLAN";
	public static final String GROUPS = "GROUPS";
	public static final String CHOOSES = "CHOOSES";
	public static final String GROUP_COUNT = "GROUP_COUNT";
	
	private int sequence = 0;
	
	public int nextSequence() {
		return sequence++;
	}
}
